/*
 * SExpress.h
 *
 *  Criada:  22 outubro 2014
 *   Autor: Edivã
 */

#ifndef SEXPRESS_H_
#define SEXPRESS_H_
#include <string>

class SExpress {



public:

	SExpress();
	SExpress(std::string msg);
	virtual ~SExpress();
	void imprimExpressao();

	static SExpress* parse(std::string msg);



/*Variaveis*/
private:
	//static char INICIO_EXPRESSAO ='(';
	//static char FIM_EXPRESSAO =')';

	std::string textoAtom;
	SExpress *pai;
	SExpress *filho; //deve ser um vertor desse tipo


	std::string expression;
    unsigned int index;

}
#endif
